package com.joysuch.wwyt.workflow.repository;

import com.joysuch.wwyt.workflow.entity.WorkFlowLocationConfig;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @Author ZhangDong
 * @Date 2020/11/4 16:04
 */
public interface WorkFlowLocationConfigDao extends JpaRepository<WorkFlowLocationConfig, Long> {

    WorkFlowLocationConfig findFirstByProcessId(Long processId);

    List<WorkFlowLocationConfig> findByProcessIdIn(List<Long> processIds);
}
